/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aptech.domain.model;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 * @author Admin
 */
public class PostDO implements Serializable {
    private Integer postId;
    private AccountDO account;
    private TopicDO topic;
    private String postSubject;
    private String postContent;
    private Timestamp postTime;
    private Integer postOrder;

    /**
     * @return the postId
     */
    public Integer getPostId() {
        return postId;
    }

    /**
     * @param postId the postId to set
     */
    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    /**
     * @return the account
     */
    public AccountDO getAccount() {
        return account;
    }

    /**
     * @param account the account to set
     */
    public void setAccount(AccountDO account) {
        this.account = account;
    }

    /**
     * @return the topic
     */
    public TopicDO getTopic() {
        return topic;
    }

    /**
     * @param topic the topic to set
     */
    public void setTopic(TopicDO topic) {
        this.topic = topic;
    }

    /**
     * @return the postSubject
     */
    public String getPostSubject() {
        return postSubject;
    }

    /**
     * @param postSubject the postSubject to set
     */
    public void setPostSubject(String postSubject) {
        this.postSubject = postSubject;
    }

    /**
     * @return the postContent
     */
    public String getPostContent() {
        return postContent;
    }

    /**
     * @param postContent the postContent to set
     */
    public void setPostContent(String postContent) {
        this.postContent = postContent;
    }

    /**
     * @return the postTime
     */
    public Timestamp getPostTime() {
        return postTime;
    }

    /**
     * @param postTime the postTime to set
     */
    public void setPostTime(Timestamp postTime) {
        this.postTime = postTime;
    }

    /**
     * @return the postOrder
     */
    public Integer getPostOrder() {
        return postOrder;
    }

    /**
     * @param postOrder the postOrder to set
     */
    public void setPostOrder(Integer postOrder) {
        this.postOrder = postOrder;
    }
}
